package eu.jpereira.trainings.designpatterns.creational.abstractfactory.json;

import eu.jpereira.trainings.designpatterns.creational.abstractfactory.Report;

public class JSONReportFactory {

	public Report createReport() {
		Report JSONReport = new Report("JSON");
		JSONReport.setFooter(new JSONReportFooter());
		JSONReport.setHeader(new JSONReportHeader());
		JSONReport.setBody(new JSONReportBody());
		
		return JSONReport;
	}
}
